package timing.ukulele.springdoc.properties;

import io.swagger.v3.oas.models.info.License;
import io.swagger.v3.oas.models.servers.Server;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 属性配置
 *
 * @author fengxici
 */
@Data
@ConfigurationProperties("ukulele.document")
public class DocumentProperties {
    private String title;
    private String version;
    private String description;
    private String termsOfService;
    private License license;

    private Boolean enableOAuth2;
    private String authorizationUrl;
    private String tokenUrl;
    private List<ScopeProperties> scopes;

    private List<ServerProperties> servers;
}
